@extends('admin.common.common')

@section('head')

@endsection


@section('body')

    <article class="page-container">
        <form action="{{ route('admin.apiuser.store') }}" method="post" class="form form-horizontal" id="fang-add">
            @csrf
            @if ($errors->any())
                <div class="Huialert-error Huialert">
                    <ul>
                        @foreach ($errors->all() as $error)
                            <li>{{ $error }}</li>
                        @endforeach
                    </ul>
                </div>
            @endif

            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>账号：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <input type="text" class="input-text" name="username">
                </div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>密码：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <input type="password" class="input-text"  name="password">
                </div>
            </div>

            <div class="row cl">
                <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                    <input class="btn btn-primary radius" type="submit" value="添加预约">
                </div>
            </div>
        </form>
    </article>
@endsection


@section('js')

    <script src="/admin/lib/jquery.validation/1.14.0/jquery.validate.js"></script>
    <script>


    </script>
@endsection
